package com.jeff.meta.model;

/**
 * @param <T> {@Description} 二叉树 节点类
 *            {@Author} <b style="color:yellow">yaojianfeng</b> 2024/7/7 下午10:38
 */
public class TreeNode<T> {
    T value;
    public TreeNode<T> left;
    public TreeNode<T> right;

    public TreeNode(T value) {
        this.value = value;
    }

    public TreeNode(T value, TreeNode<T> left, TreeNode<T> right) {
        this.value = value;
        this.left = left;
        this.right = right;
    }
}
